//-----------------------------------------------------------------------
// <copyright file="IWebAccessor.cs" company="Rhys Parry">
//    Copyright Rhys Parry 2009
//    This file is released under the Apache 2.0 License
// </copyright>
//-----------------------------------------------------------------------
namespace Smarts.Core.Interfaces
{
    using System;
    using System.Net;

    public interface IWebAccessor
    {
        Uri BaseUri { get; set; }

        string Get(string address);
        void UseCredentials(string username, string password);
        void UseCredentials(ICredentials credential);
    }
}